package ua.pp.bizon.yandex.api.impl;

import java.io.Serializable;
import java.util.Map;

public class Element implements Serializable {

	private static final long serialVersionUID = -153504074583072922L;
	private Activity activity;
	private Map<String, String> properties;
	public static final String PROP_TO = "to";
	public static final String PROP_FROM = "from";
	@Deprecated
	public static final String PROP_LOGIN = "login";
	public static final String PROP_COUNT_DONE = "countDone";
	public static final String PROP_COUNT_TOTAL = "countTotal";

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

	public Activity getActivity() {
		return activity;
	}

	public void setProperties(Map<String, String> properties) {
		this.properties = properties;
	}

	public Map<String, String> getProperties() {
		return properties;
	}

	@Override
	public String toString() {
		return "Element [activity=" + activity + ", properties=" + properties + "]";
	}

}
